#ifndef PreviewCapture_H
#define PreviewCapture_H

#include <QWidget>
#include "ewha.h"

namespace Ui {
class PreviewCapture;
}

class PreviewCapture : public QWidget
{
	Q_OBJECT

public:
	explicit PreviewCapture(QWidget *parent = 0);
	~PreviewCapture();
	void setPreview(QString &strFilepath);

signals:
	void SignalCaptureProcessEnd();
	void SignalCaptureMore();
	void SignalSaveCapture();
	void SignalNewCapture();

private slots:
	void SlotCancel();
	void SlotSave();

private:
	void RequestSaveCapture();
	void PromptCaptureMore();

private:
	Ui::PreviewCapture *ui;
};

#endif // PreviewCapture_H
